<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="renderer" content="webkit">
	<title>EZOPEN播放协议</title>
	<style>
		body {
			margin: 0;
		}
    .play-box{
      width: 100vw;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }
	</style>
</head>
<body>
<div class="play-box">
  <div id="playWind"></div>
</div>
<script src="./js/ezuikit.js"></script>
<script>
	var init = function(options) {
		var decoder = new EZUIKit.EZUIPlayer({
			id: 'playWind',
			autoplay: true,
			url: options.url,
			accessToken: options.accessToken,
			decoderPath: './',				//decoderPath：${window.YOUR_PATH};请在生产模式输入ezuikit.js的绝对路径
			width: options.width,
			height: options.height,
			handleError: options.handleError || function() {},
			handleSuccess: options.handleSuccess || function() {}
		});
	};
</script>
</body>

</html>
